package com.system.Mapper;

import com.system.Entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper {

    List<Role> getRoleList(@Param("roleName")String roleName);


    void addRole(Role role);

    void updateRole(Role role);

    void deleteRole(String roleId);

    List<Role> getRoleLists();
}
